import './detect-living-face';
import './face-compare';
import './id-card-compare';
import './invite-human-three-parties';
import './ivvr';
import './message-collect';
import './message-summary';
import './message-sure';
import './nlp';
import './option-judge';
import './request-location';
import './scan-code';
import './screen-snapshot';
import './send-deposition';
import './send-form';
import './send-page';
import './send-pdf';
import './send-rich-text';
import './send-sign';
import './send-video';
import './sign-contract';
import './silent-wating';
import './sound-reception';
import './speak-waiting';
import './summary-confirm';
import './variable-collection';
import './variable-judge';
import './waiting-read';
import './video-collect';
import './interface-call';
import './start-recording';
import './stop-recording';
import './card-collection';
import './llm';
import { GetChangedNextStepMethod } from './defination';
/**
 * 获取下一步变更的数据
 * @param { Object } preNext 初始的下一步数据 {yes: '', no: '', other: '', rejected: '', noAnswer: ''}
 * @param { Object } curNext 当前的下一步数据  {yes: '', no: '', other: '', rejected: '', noAnswer: ''}
 * @param { Array } preList 初始的列表  []
 * @param { Array } curList 当前的列表  []
 */
export const getChangedNextStepWithType = (nodeType = '', preNext = {}, curNext = {}, preList = [], curList = []) => {
	if (!nodeType) {
		return [];
	}
	if (!GetChangedNextStepMethod[nodeType]) {
		console.warn('getChangedNextStepWithType : ', nodeType);
		return [];
	}
	return GetChangedNextStepMethod[nodeType](preNext, curNext, preList, curList);
};
